﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ebclang.basics;

/*
 * Placeholders:
 *  __applicationName__: Name of application, e.g. MyApplication
 *  __messageTypeNamespace__: Namespace of message type, e.g. typename Stopwatch.Start then Stopwatch
 *                            The file is placed in a subfolder with the name of the namespace
 *  __messageTypeName__: Name of message type without namespace, e.g. Start
 */

namespace __applicationName__.messages__messageTypeNamespace__
{
    [Serializable]
    public class __messageTypeName__
    {
        /*
         * Your code goes here...
         */

        #region Overrides
        public override string ToString()
        {
            // Change as needed:
            return string.Format("{0}", this.GetType().FullName);
        }

        public override bool Equals(object obj)
        {
            __messageTypeName__ other = (__messageTypeName__)obj;

            // Change as needed:
            return this.GetHashCode() == other.GetHashCode();
        }
        #endregion
    }
}
